﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.ProductManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.ProductManagement.ProductLableVMs
{
    public partial class ProductLableBatchVM : BaseBatchVM<ProductLable, ProductLable_BatchEdit>
    {
        public ProductLableBatchVM()
        {
            ListVM = new ProductLableListVM();
            LinkedVM = new ProductLable_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class ProductLable_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._ProductLable._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._ProductLable._ValueName")]
        public string ValueName { get; set; }
        [Display(Name = "_Model._ProductLable._ValueMode")]
        public ValueTypeEnum? ValueMode { get; set; }
        [Display(Name = "_Model._ProductLable._Value")]
        public string Value { get; set; }
        [Display(Name = "_Model._ProductLable._Pos")]
        public int? Pos { get; set; }
        [Display(Name = "_Model._ProductLable._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}